package com.bit.blog;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.SimpleFormatter;

public class DateUtils {
    public static void main(String[] args) {
        Date date = new Date();
        System.out.println("date:"+ date);
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
        String format = dateFormat.format(date);
        System.out.println("format:"+format);

    }
}
